//
//  XYDownloadViewModel.m
//  XYSfxyxuSwift
//
//  Created by 许洋 on 2018/4/19.
//  Copyright © 2018年 许洋. All rights reserved.
//

#import "XYDownloadViewModel.h"
#import "XYDownloadModel.h"
@implementation XYDownloadViewModel
- (instancetype)init
{
    self = [super init];
    if (self) {
        NSArray *dataArr = @[@{@"downloadName":@"第一集",
                               @"downloadState":@"0",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_01.mp"},
                             @{@"downloadName":@"第一集",
                               @"downloadState":@"0",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_02.mp4"},
                             @{@"downloadName":@"第一集",
                               @"downloadState":@"0",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_03.mp4"},
                             @{@"downloadName":@"第一集",
                               @"downloadState":@"0",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_04.mp4"},
                             @{@"downloadName":@"第一集",
                               @"downloadState":@"0",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_05.mp4"},
                             @{@"downloadName":@"第一集",
                               @"downloadState":@"0",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_06.mp4"},
                             @{@"downloadName":@"第一集",
                               @"downloadState":@"",
                               @"downloadSize":@"",
                               @"downloadProgress":@"",
                               @"downloadUrl":@"http://120.25.226.186:32812/resources/videos/minion_07.mp4"}];
        _dataSource = [XYDownloadModel mj_objectArrayWithKeyValuesArray:dataArr];
    }
    return self;
}
@end
